package com.jinlia.show.modules.base.model.po;

import com.jinlia.show.modules.base.system.entity.MemberCard;
import com.jinlia.show.modules.base.wxapp.entity.User;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.List;

@Data
public class MemberCardPO extends MemberCard {

    private List<User> userList;
    public static MemberCardPO fromEntity(MemberCard entity) {
        MemberCardPO PO = new MemberCardPO();
        BeanUtils.copyProperties(entity, PO);
        return PO;
    }
}
